<template>
	<div id="app">
		<router-view />
	</div>
</template>

<script>
import '@/assets/css/global.scss'

export default {
  name:"app",
  data(){
	return {
		pongStr: "",
	}
  },
  methods: {
	Submit() {
		const that = this
		this.$axios.get('/ping')
		.then(function (response) {
			// 处理成功情况
			that.pongStr = response['data']['msg']
		})
		.catch(function (error) {
			// 处理错误情况
			console.log(error);
		})
		.then(function () {
			// 总是会执行
		});
	}
  },
	startup() {
	
	}
  
}
</script>

<style scoped>
.body { 
	margin: 0;
	padding: 0;
	border: 0;
}
html,body,#app{ 
	height: 100%;
	width: 100%;
}
</style>
